package org.softmed.filehandling;

import java.io.File;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		FileUtil util = new FileUtil();
		
		
		File file = util.getFile("/wtf/test.txt");
		System.out.println(file.exists());
		

		String path = ".\\wtf\\test.text";
		int index = path.indexOf(".\\");
		if (index >= 0)
			path = path.substring(index+1);
		
		System.out.println(path);
		
		
	}

}
